package com.atguigu.scala.chapter_05_function

object Scala_01 {
  def main(args: Array[String]): Unit = {
    //    def test(): Unit ={
    //      "555"
    //    }
    def test1() = {
      "beautiful"
    }

    println(test1())

    def test2() = "1111"

    def test3 = "2222"

    println(test3)

    def test4(): String = {
      "5555"
    }

    def test5() {
      println("7777")

      def test6(): Unit = {
        println("yyy")
      }
    }
  }
}
